/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "仓库表",TableName = "warehousemodel")]
    public partial class warehousemodel:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///仓库编号
       /// </summary>
       [Display(Name ="仓库编号")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string WarehouseCode { get; set; }

       /// <summary>
       ///仓库名称
       /// </summary>
       [Display(Name ="仓库名称")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string WarehouseName { get; set; }

       /// <summary>
       ///仓库容量
       /// </summary>
       [Display(Name ="仓库容量")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Capacity { get; set; }

       /// <summary>
       ///仓库地址
       /// </summary>
       [Display(Name ="仓库地址")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Warehouseaddr { get; set; }

       /// <summary>
       ///部门Id
       /// </summary>
       [Display(Name ="部门Id")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string deptId { get; set; }

       /// <summary>
       ///仓库主管
       /// </summary>
       [Display(Name ="仓库主管")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? userId { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? status { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string WarehouseDesc { get; set; }

       /// <summary>
       ///删除标识
       /// </summary>
       [Display(Name ="删除标识")]
       [Column(TypeName="sbyte")]
       public sbyte? IsDel { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(15)]
       [Column(TypeName="nvarchar(15)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(15)]
       [Column(TypeName="nvarchar(15)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///创建人id
       /// </summary>
       [Display(Name ="创建人id")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       /// <summary>
       ///修改人id
       /// </summary>
       [Display(Name ="修改人id")]
       [Column(TypeName="int")]
       public int? ModifyID { get; set; }

       /// <summary>
       ///库存数量
       /// </summary>
       [Display(Name ="库存数量")]
       [Column(TypeName="int")]
       public int? InventoryNum { get; set; }

       /// <summary>
       ///库存金额
       /// </summary>
       [Display(Name ="库存金额")]
       [DisplayFormat(DataFormatString="50,2")]
       [Column(TypeName="decimal")]
       public decimal? InventoryMomeny { get; set; }

       
    }
}